package com.cloudbroker.bcs.platform.ltb.middle.dao;

import com.cloudbroker.bcs.common.dao.base.DAOBase;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.vo.AdminUserIdList;
import com.cloudbroker.bcs.platform.ltb.middle.entity.Leader;
import com.cloudbroker.bcs.platform.ltb.middle.entityview.LeaderListView;

import java.util.List;

/**
 * Created by tianrui on 2016/7/5.
 */
public interface LeaderDAO extends DAOBase<Leader, String> {

    public void addLeader(Leader leader);

    public Leader getLeader(Leader leader);

    public void updateLeaderHeadpic(Leader leader);

    public void updateLeaderAliasName(Leader leader);

    public Long getLeaderID(Leader leader);

    List<LeaderListView> queryLeaderList(List<AdminUserIdList> list);

    void updateLeaderJobState(Leader leader);
}

